//1.导入Vue
import Vue from 'vue'

//全局配置MintUI
import MuntUI from 'mint-ui'
//导入Mint-UI的样式表
import 'mint-ui/lib/style.css'

import VuePreview from 'vue-preview'
Vue.use(VuePreview)


//安装组件
Vue.use(MuntUI)

//配置axios
import axios from 'axios'
//把axios挂载到Vue原型对象上
Vue.prototype.$http = axios.create({
    baseURL:'http://api.cms.liulongbin.top'//在全局设置axios的请求根路径
})

//导入mui的css
import "../lib/mui/css/mui.min.css"
//导入MUI扩展图标
import "../lib/mui/css/icons-extra.css"

//导入icons-extra.css所需要的字体文件
import "../lib/mui/fonts/mui-icons-extra.ttf"